package com.gis.bigdata.spark.core.framework.common

import com.gis.bigdata.spark.core.framework.util.{EnvUtil}
import org.apache.spark.rdd.RDD

/**
 * @author LnnuUser
 * @create 2021-09-02-上午9:27
 */
trait TDao {

  def readFile(path: String): RDD[String] = {
    EnvUtil.take().textFile(path)
  }

}
